package com.cy.ppj.model.vo.front.dealrecord;

import com.cy.ppj.model.enums.DealType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @description: 交易记录
 * @author: Ocean
 * @create: 2018-09-04 14:17
 **/
@Data
@ApiModel
public class DealRecordVO {

    @ApiModelProperty(value = "交易类型")
    private DealType type;

    @ApiModelProperty(value = "交易类型文案")
    private String typeText;

    @ApiModelProperty(value = "交易时间")
    private Date createTime;

    @ApiModelProperty(value = "交易金额", example = "100.00")
    private BigDecimal amount;

    @ApiModelProperty(value = "可用余额", example = "100.00")
    private BigDecimal usableAmount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "符号")
    private String symbol;

}
